package com.fulihui.information.core.zbus;

import com.fulihui.information.common.config.AppConst;
import com.sun.corba.se.pept.broker.Broker;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @author leeson 2016年5月8日 下午12:37:57
 */
@Component
@Slf4j
public class ZbusProducerHandle {
    @Autowired
    private AppConst appConst;

    private Broker broker;

    @PostConstruct
    public void init() throws Exception {

    }

    /**
     * 发送消息到消息队列
     *
     * @param messageJson
     * @return
     */
    public boolean commitToMQ(String messageJson) {
        return true;
    }
}